package com.catchu.pattern.creational.适配器模式.基于对象;

/**
 * 测试代码
 */
public class Client {

    public static void main(String[] args) {
        UserManageInterface userManage = new UserManageAdapter();
        UserRegister userRegister = new UserRegister(userManage);

        userRegister.userRegister("王五","技术部");
        System.out.println("==============");
        userRegister.userRegister("张三","销售部");
    }
}
